// 生成 100 个企业数据的函数

/**
 * 回收地图-获取数据
 */
function apiGetInfo() {
  console.log("apiGetInfo");
  return new Promise((resolve) => {
    const res = {
      code: 200,
      data: {
        province: [
          {
            code: "110000",
            name: "北京市",
            pos: [116.4074, 39.9042],
            value: 567,
          },
          {
            code: "120000",
            name: "天津市",
            pos: [117.1901, 39.1256],
            value: 345,
          },
          {
            code: "130000",
            name: "河北省",
            pos: [114.5025, 38.0454],
            value: 789,
          },
          {
            code: "140000",
            name: "山西省",
            pos: [112.5493, 37.8572],
            value: 234,
          },
          {
            code: "150000",
            name: "内蒙古",
            pos: [111.6708, 40.8184],
            value: 890,
          },
          {
            code: "210000",
            name: "辽宁省",
            pos: [123.429, 41.7967],
            value: 456,
          },
          {
            code: "220000",
            name: "吉林省",
            pos: [125.3245, 43.8868],
            value: 678,
          },
          {
            code: "230000",
            name: "黑龙江省",
            pos: [126.6424, 45.7569],
            value: 321,
          },
          {
            code: "310000",
            name: "上海市",
            pos: [121.4737, 31.2304],
            value: 987,
          },
          {
            code: "320000",
            name: "江苏省",
            pos: [118.7674, 32.0415],
            value: 543,
          },
          {
            code: "330000",
            name: "浙江省",
            pos: [120.1536, 30.2741],
            value: 765,
          },
          {
            code: "340000",
            name: "安徽省",
            pos: [117.2831, 31.8611],
            value: 432,
          },
          {
            code: "350000",
            name: "福建省",
            pos: [119.3062, 26.0753],
            value: 876,
          },
          {
            code: "360000",
            name: "江西省",
            pos: [115.8921, 28.6764],
            value: 210,
          },
          {
            code: "370000",
            name: "山东省",
            pos: [117.0009, 36.6758],
            value: 654,
          },
          {
            code: "410000",
            name: "河南省",
            pos: [113.6654, 34.7579],
            value: 345,
          },
          {
            code: "420000",
            name: "湖北省",
            pos: [114.2985, 30.5845],
            value: 789,
          },
          {
            code: "430000",
            name: "湖南省",
            pos: [112.9822, 28.194],
            value: 234,
          },
          {
            code: "440000",
            name: "广东省",
            pos: [113.2644, 23.1291],
            value: 890,
          },
          {
            code: "450000",
            name: "广西",
            pos: [108.2822, 22.8402],
            value: 456,
          },
          {
            code: "460000",
            name: "海南省",
            pos: [110.3311, 20.0319],
            value: 678,
          },
          {
            code: "500000",
            name: "重庆市",
            pos: [106.5049, 29.5331],
            value: 321,
          },
          {
            code: "510000",
            name: "四川省",
            pos: [104.0658, 30.574],
            value: 987,
          },
          {
            code: "520000",
            name: "贵州省",
            pos: [106.7134, 26.5784],
            value: 543,
          },
          {
            code: "530000",
            name: "云南省",
            pos: [102.7123, 25.0406],
            value: 765,
          },
          {
            code: "540000",
            name: "西藏",
            pos: [91.1145, 29.6441],
            value: 432,
          },
          {
            code: "610000",
            name: "陕西省",
            pos: [108.948, 34.2632],
            value: 876,
          },
          {
            code: "620000",
            name: "甘肃省",
            pos: [103.8343, 36.0611],
            value: 210,
          },
          {
            code: "630000",
            name: "青海省",
            pos: [101.7789, 36.6231],
            value: 654,
          },
          {
            code: "640000",
            name: "宁夏",
            pos: [106.2781, 38.4664],
            value: 345,
          },
          {
            code: "650000",
            name: "新疆",
            pos: [87.6168, 43.7928],
            value: 789,
          },
          {
            code: "710000",
            name: "台湾省",
            pos: [121.5654, 25.033],
            value: 234,
          },
          {
            code: "810000",
            name: "香港",
            pos: [114.1655, 22.2753],
            value: 890,
          },
          {
            code: "820000",
            name: "澳门",
            pos: [113.5491, 22.1987],
            value: 456,
          },
        ],
        city: [
          {
            code: "110100",
            name: "北京市",
            pos: [116.4074, 39.9042],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "120100",
            name: "天津市",
            pos: [117.1901, 39.1256],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "310100",
            name: "上海市",
            pos: [121.4737, 31.2304],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "500100",
            name: "重庆市",
            pos: [106.5049, 29.5331],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "330100",
            name: "杭州市",
            pos: [120.1536, 30.2741],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "440100",
            name: "广州市",
            pos: [113.2644, 23.1291],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "440300",
            name: "深圳市",
            pos: [114.0579, 22.5431],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "320100",
            name: "南京市",
            pos: [118.7674, 32.0415],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "420100",
            name: "武汉市",
            pos: [114.2985, 30.5845],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "510100",
            name: "成都市",
            pos: [104.0658, 30.574],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "130100",
            name: "石家庄市",
            pos: [114.5025, 38.0454],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "140100",
            name: "太原市",
            pos: [112.5493, 37.8572],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "150100",
            name: "呼和浩特市",
            pos: [111.6708, 40.8184],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "210100",
            name: "沈阳市",
            pos: [123.429, 41.7967],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "220100",
            name: "长春市",
            pos: [125.3245, 43.8868],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "230100",
            name: "哈尔滨市",
            pos: [126.6424, 45.7569],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "320200",
            name: "无锡市",
            pos: [120.3016, 31.5747],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "320500",
            name: "苏州市",
            pos: [120.6195, 31.3271],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "330200",
            name: "宁波市",
            pos: [121.5497, 29.8683],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "330300",
            name: "温州市",
            pos: [120.6966, 28.012],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "340100",
            name: "合肥市",
            pos: [117.2831, 31.8611],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "350100",
            name: "福州市",
            pos: [119.3062, 26.0753],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "350200",
            name: "厦门市",
            pos: [118.1092, 24.491],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "360100",
            name: "南昌市",
            pos: [115.8921, 28.6764],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "370100",
            name: "济南市",
            pos: [117.0009, 36.6758],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "370200",
            name: "青岛市",
            pos: [120.3826, 36.0671],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "410100",
            name: "郑州市",
            pos: [113.6654, 34.7579],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "430100",
            name: "长沙市",
            pos: [112.9822, 28.194],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "440600",
            name: "佛山市",
            pos: [113.1225, 23.0287],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "440700",
            name: "江门市",
            pos: [113.0823, 22.5916],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "441900",
            name: "东莞市",
            pos: [113.7462, 23.0405],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "442000",
            name: "中山市",
            pos: [113.3828, 22.5212],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "450100",
            name: "南宁市",
            pos: [108.2822, 22.8402],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "460100",
            name: "海口市",
            pos: [110.3311, 20.0319],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "510600",
            name: "德阳市",
            pos: [104.3775, 31.1337],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "510700",
            name: "绵阳市",
            pos: [104.7315, 31.4722],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "520100",
            name: "贵阳市",
            pos: [106.7134, 26.5784],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "530100",
            name: "昆明市",
            pos: [102.7123, 25.0406],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "540100",
            name: "拉萨市",
            pos: [91.1145, 29.6441],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "610100",
            name: "西安市",
            pos: [108.948, 34.2632],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "620100",
            name: "兰州市",
            pos: [103.8343, 36.0611],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "630100",
            name: "西宁市",
            pos: [101.7789, 36.6231],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "640100",
            name: "银川市",
            pos: [106.2781, 38.4664],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "650100",
            name: "乌鲁木齐市",
            pos: [87.6168, 43.7928],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "320300",
            name: "徐州市",
            pos: [117.1848, 34.2617],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "320400",
            name: "常州市",
            pos: [119.9469, 31.7775],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "320600",
            name: "南通市",
            pos: [120.8647, 32.0162],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "320800",
            name: "淮安市",
            pos: [119.0208, 33.5905],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "320900",
            name: "盐城市",
            pos: [120.1399, 33.3776],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "321000",
            name: "扬州市",
            pos: [119.421, 32.3931],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "321100",
            name: "镇江市",
            pos: [119.4527, 32.2046],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "321200",
            name: "泰州市",
            pos: [119.9145, 32.4848],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "321300",
            name: "宿迁市",
            pos: [118.2758, 33.9674],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "330400",
            name: "嘉兴市",
            pos: [120.7529, 30.7793],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "330500",
            name: "湖州市",
            pos: [120.1029, 30.8661],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "330600",
            name: "绍兴市",
            pos: [120.5849, 29.9925],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "330700",
            name: "金华市",
            pos: [119.6495, 29.0822],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "330800",
            name: "衢州市",
            pos: [118.8865, 28.9755],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "330900",
            name: "舟山市",
            pos: [122.1033, 30.0199],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "331000",
            name: "台州市",
            pos: [121.427, 28.6563],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "331100",
            name: "丽水市",
            pos: [119.9217, 28.4594],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "340200",
            name: "芜湖市",
            pos: [118.3833, 31.3396],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "340300",
            name: "蚌埠市",
            pos: [117.3427, 32.9339],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "340400",
            name: "淮南市",
            pos: [116.9847, 32.6355],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "340500",
            name: "马鞍山市",
            pos: [118.5052, 31.6914],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "340600",
            name: "淮北市",
            pos: [116.7982, 33.9762],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "340700",
            name: "铜陵市",
            pos: [117.8172, 30.947],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "340800",
            name: "安庆市",
            pos: [117.0532, 30.5395],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "341000",
            name: "黄山市",
            pos: [118.3174, 29.7182],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "341100",
            name: "滁州市",
            pos: [118.3174, 32.3069],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "341200",
            name: "阜阳市",
            pos: [115.8172, 32.8999],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "341300",
            name: "宿州市",
            pos: [116.9847, 33.6355],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "341500",
            name: "六安市",
            pos: [116.5052, 31.7914],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "341600",
            name: "亳州市",
            pos: [115.7982, 33.8762],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "341700",
            name: "池州市",
            pos: [117.4172, 30.647],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "341800",
            name: "宣城市",
            pos: [118.7532, 30.9395],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "350300",
            name: "莆田市",
            pos: [119.0943, 25.4434],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "350400",
            name: "三明市",
            pos: [117.6472, 26.2535],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "350500",
            name: "泉州市",
            pos: [118.5854, 24.9074],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "350600",
            name: "漳州市",
            pos: [117.6553, 24.5155],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "350700",
            name: "南平市",
            pos: [118.1755, 26.6454],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "350800",
            name: "龙岩市",
            pos: [117.0132, 25.0995],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "350900",
            name: "宁德市",
            pos: [119.5353, 26.6555],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "360200",
            name: "景德镇市",
            pos: [117.2132, 29.3995],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "360300",
            name: "萍乡市",
            pos: [113.8132, 27.6995],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "360400",
            name: "九江市",
            pos: [115.9932, 29.7995],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "360500",
            name: "新余市",
            pos: [114.9132, 27.8995],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "360600",
            name: "鹰潭市",
            pos: [117.0132, 28.2995],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "360700",
            name: "赣州市",
            pos: [114.9932, 25.8995],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "360800",
            name: "吉安市",
            pos: [114.9932, 27.1995],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "360900",
            name: "宜春市",
            pos: [114.3932, 27.7995],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "361000",
            name: "抚州市",
            pos: [116.3932, 27.9995],
            value: Math.floor(Math.random() * 900) + 100,
          },
          {
            code: "361100",
            name: "上饶市",
            pos: [117.9932, 28.4995],
            value: Math.floor(Math.random() * 900) + 100,
          },
        ],
        // 企业 {id: 1, name: '企业名称',  pos: [经度, 纬度]}
        enterprise: enterpriseList,
        // 推荐 企业id列表
        recommend: [1, 3, 4, 5, 6, 7, 8, 9, 10],
        // 是否已经入驻 0: 未入驻 1: 已入驻
        is_join: 0,
      },
    };
    setTimeout(() => {
      resolve(res);
    }, 500);
  });
}

/**
 * 回收地图-获取企业详情
 * @param {*} id 企业id
 */
function apiGetDetail(data) {
  console.log("apiGetDetail", data);
  return new Promise((resolve, reject) => {
    const res = {
      code: 200,
      data: {
        name: "武石再生科技有限公司",
        vip_image: "https://style.feijiu.net/images/shop/shop25/VIP.png",
        video:
          "https://img5.feijiu.net/video/product/2025/04/05/05052210206939.mp4",
        images: [
          {
            id: 1,
            title: "二手太阳能光伏板板回收",
            src: "https://img5.feijiu.net/pic/product/2023/03/16/16115634405658.png",
            link: "https://www.feijiu.net/KuCunWuZi/5930534.html",
          },
          {
            id: 2,
            title: "出售榻榻米床400一个有40个在南京",
            src: "https://img5.feijiu.net/pic/product/2022/03/07/07135209191622.jpg_/both/378x295",
            link: "https://www.feijiu.net/KuCunWuZi/5930534.html",
          },
          {
            id: 3,
            title: "天津市滨海新区出售冷轧翻转机设备",
            src: "http://img5.feijiu.net/pic/product/2022/04/30/30134319787127.jpg_/both/212x212",
            link: "https://www.feijiu.net/KuCunWuZi/5930534.html",
          },
        ],
        zone: "湖北省武汉市",
        user_name: "李老板",
        company_cate:
          "智能回收，科技环保，智能回收，科技环保，智能回收，科技环保，智能回收，科技环保",
        cate: "废金属、废km电",
        desc: "大庆废旧物资回收有限公司以东三省、内蒙、河北、山东为主面向全国长期专业回收金属，电力物资，报废设备，工地废料，二手建材，厂房拆除，本公司一直遵循诚信合作、互利共赢的合作理念，期待与您的合作",
        message: [
          {
            id: 1,
            type: "求购",
            desc: "废纸板，每月需求500吨，价格面议",
            link: "https://www.feijiu.net/KuCunWuZi/5930534.html",
          },
          {
            id: 2,
            type: "供应",
            desc: "再生塑料颗粒，PP材质，月供应量200吨",
            link: "https://www.feijiu.net/KuCunWuZi/5930534.html",
          },
          {
            id: 3,
            type: "合作",
            desc: "寻求社区回收站点合作，提供智能回收设备",
            link: "https://www.feijiu.net/KuCunWuZi/5930534.html",
          },
        ],
        link: "https://www.feijiu.net", // 企业商铺聊天
      },
    };
    setTimeout(() => {
      resolve(res);
    }, 500);
  });
}

/**
 * 回收地图-提交信息
 * @param {*} name 联系人
 * @param {*} phone 联系电话
 */
function apiSubmit(data) {
  console.log("apiSubmit", data);
  return new Promise((resolve, reject) => {
    const res = { code: 200, msg: "提交成功" };
    setTimeout(() => {
      resolve(res);
    }, 500);
  });
}

// ==============下面不用看，随机生成企业数据=============

// 生成随机偏移量的函数
function getRandomOffset() {
  // 偏移范围在 -0.5 到 0.5 之间，可按需调整
  return (Math.random() - 1) * 1;
}

// 生成企业名称的函数
function generateEnterpriseName() {
  const prefixes = [
    "宏宇",
    "捷顺",
    "绿源",
    "鑫盛",
    "丰泰",
    "兴达",
    "华瑞",
    "利达",
    "顺通",
    "恒信",
  ];
  const middle = [
    "废旧物资",
    "再生资源",
    "环保回收",
    "废旧金属",
    "塑料回收",
    "废纸回收",
    "电子废料",
    "废旧木材",
    "废玻璃",
    "废旧家电",
  ];
  const suffixes = [
    "回收有限公司",
    "回收中心",
    "回收贸易公司",
    "回收厂",
    "处理公司",
    "加工企业",
  ];

  const randomPrefix = prefixes[Math.floor(Math.random() * prefixes.length)];
  const randomMiddle = middle[Math.floor(Math.random() * middle.length)];
  const randomSuffix = suffixes[Math.floor(Math.random() * suffixes.length)];

  return randomPrefix + randomMiddle + randomSuffix;
}

function generateEnterprises(cities) {
  const enterprises = [];
  for (let i = 1; i <= 1000; i++) {
    // 随机选择一个城市
    const randomCity = cities[Math.floor(Math.random() * cities.length)];
    const enterprise = {
      id: i,
      name: generateEnterpriseName(),
      pos: [
        randomCity.pos[0] + getRandomOffset(),
        randomCity.pos[1] + getRandomOffset(),
      ],
    };
    if (i === 1) {
      enterprise.pos = [];
    }
    enterprises.push(enterprise);
  }
  return enterprises;
}

const enterpriseList = generateEnterprises([
  { code: "110100", name: "北京市", pos: [116.4074, 39.9042] },
  { code: "120100", name: "天津市", pos: [117.1901, 39.1256] },
  { code: "130100", name: "河北省", pos: [114.4839, 38.0353] },
  { code: "140100", name: "山西省", pos: [112.5493, 37.8572] },
  { code: "150100", name: "内蒙古自治区", pos: [111.6708, 40.8184] },
  { code: "210100", name: "辽宁省", pos: [123.429, 41.7967] },
  { code: "220100", name: "吉林省", pos: [125.3245, 43.8868] },
  { code: "230100", name: "黑龙江省", pos: [126.6424, 45.7569] },
  { code: "310100", name: "上海市", pos: [121.4737, 31.2304] },
  { code: "320100", name: "江苏省", pos: [118.7806, 32.0402] },
  { code: "330100", name: "浙江省", pos: [120.1535, 30.2874] },
  { code: "340100", name: "安徽省", pos: [117.2781, 31.8611] },
  { code: "350100", name: "福建省", pos: [119.3062, 26.0753] },
  { code: "360100", name: "江西省", pos: [115.8921, 28.6764] },
  { code: "370100", name: "山东省", pos: [117.0009, 36.6758] },
  { code: "410100", name: "河南省", pos: [113.6654, 34.7579] },
  { code: "420100", name: "湖北省", pos: [114.3103, 30.5204] },
  { code: "430100", name: "湖南省", pos: [112.5493, 28.9382] },
  { code: "440100", name: "广东省", pos: [113.2644, 23.1291] },
  { code: "450100", name: "广西壮族自治区", pos: [108.3262, 22.824] },
  { code: "460100", name: "海南省", pos: [110.3311, 20.0319] },
  { code: "500100", name: "重庆市", pos: [106.5471, 29.5922] },
  { code: "510100", name: "四川省", pos: [104.0659, 30.6594] },
  { code: "520100", name: "贵州省", pos: [106.7134, 26.5784] },
  { code: "530100", name: "云南省", pos: [102.7123, 25.0406] },
  { code: "540100", name: "西藏自治区", pos: [91.1145, 29.6441] },
  { code: "610100", name: "陕西省", pos: [108.948, 34.2632] },
  { code: "620100", name: "甘肃省", pos: [103.8343, 36.0611] },
  { code: "630100", name: "青海省", pos: [101.7789, 36.6231] },
  { code: "640100", name: "宁夏回族自治区", pos: [106.2781, 38.4664] },
  { code: "650100", name: "新疆维吾尔自治区", pos: [87.6168, 43.7928] },
  { code: "710100", name: "台湾省", pos: [121.3065, 25.033] },
  { code: "810100", name: "香港特别行政区", pos: [114.1095, 22.2849] },
  { code: "820100", name: "澳门特别行政区", pos: [113.5486, 22.1967] },
]);
